# coding:utf-8
from flask_restful import Api
from api.api_hello import Hello
from api.v1.api_item import Item


def init_api(app):
    api = Api(app)
    api.add_resource(Hello, '/hello')
    # v1
    api.add_resource(Item, '/v1/item')
